<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let arrCount = [4, 9, 5, 3, 20, 6, 15, 11, 35]
        let sum = 0
        let num = 0
        for (i = 0; i <= arrCount.length; i++) {
            if (arrCount[i] > 5) {
                sum += arrCount[i]

            }
            if (arrCount[i] % 3 === 0 && arrCount[i] % 2 == 0) {
                num++
            }
        }
        document.write(`答案是${sum}和${num}`)
    </script>
</body>

</html>